Skip to content

docs: replace retired Anthropic model ids in native-provider examples - #7262

Closed
JoaquinDG wants to merge 1 commit into
crewAIInc:mainfrom
JoaquinDG:anthropic-model-ids
Closed

docs: replace retired Anthropic model ids in native-provider examples#7262
JoaquinDG wants to merge 1 commit into
crewAIInc:mainfrom
JoaquinDG:anthropic-model-ids

Conversation

@JoaquinDG

Copy link
Copy Markdown

AI-assisted contribution. Written with Claude Code and reviewed by me before opening.
Per CONTRIBUTING.md this needs the llm-generated label; I do not have triage
permission here, so could a maintainer please apply it.

Follow-up to the offer I made on #7110. #7003 fixed the retired Gemini ids; the Claude ones
in the same docs are in the same state.

What this changes

Nine Claude 3 family ids used in the native-provider examples now return 404 from the
Messages API. Checked today:

claude-3-5-sonnet-20241022   HTTP 404
claude-3-5-sonnet            HTTP 404
claude-3-haiku-20240307      HTTP 404
claude-3-opus                HTTP 404
claude-3-sonnet              HTTP 404

claude-sonnet-4-6            OK 200
claude-haiku-4-5             OK 200
claude-opus-4-6              OK 200

36 occurrences across 4 files and all 4 locales:

  • learn/llm-selection-guide.mdx (6 per locale)
  • guides/agents/crafting-effective-agents.mdx
  • concepts/knowledge.mdx
  • concepts/memory.mdx

Replacements keep the tier

claude-sonnet-4-6 is already used elsewhere in these docs after #7003, so this is
consistent rather than introducing a new id.

Tier matters here because llm-selection-guide.mdx is teaching a cost and capability
tradeoff, which is the point you and I discussed on #7002. So sonnet stays sonnet, haiku
stays haiku (Memory(llm=...), the cheap path), and opus stays opus
(crafting-effective-agents.mdx, where the prose is about the strongest model). Trailing
comments like # Best for writing and their Korean and Portuguese translations are
untouched.

Deliberately not included

observability/portkey.mdx and observability/langdb.mdx also contain ids that 404 on the
direct API, but those examples route through a gateway with its own model-id namespace, so
I have left them alone rather than guess. Same reasoning as the Bedrock and Vertex id
formats.

Frozen docs/v* snapshots untouched, and the ar, ko and pt-BR translations are synced
as AGENTS.md requires.

…ples

The Claude 3 family ids used in these examples now return 404 from the Messages
API, so a reader copying them gets an error on the first call. Replacements keep
the tier the surrounding prose describes: sonnet stays sonnet, haiku stays haiku,
opus stays opus.

Gateway-routed examples (Portkey, LangDB) are deliberately left alone, since
those route through their own model-id namespaces.

Translations synced per AGENTS.md.
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Thanks for the pull request.

First-time contributors need an associated open issue before we can review a PR.

  1. Open an issue with a template, or pick an existing open one.
  2. Open a new PR (or reopen this one) whose title or body mentions that issue, for example #123.

See the contributing guide.

@github-actions github-actions Bot closed this Sep 4, 2026
@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 09587ab2-2442-4404-9136-68dc611333e0

📥 Commits

Reviewing files that changed from the base of the PR and between 92eb5f9 and 036eee6.

📒 Files selected for processing (16)
  • docs/edge/ar/concepts/knowledge.mdx
  • docs/edge/ar/concepts/memory.mdx
  • docs/edge/ar/guides/agents/crafting-effective-agents.mdx
  • docs/edge/ar/learn/llm-selection-guide.mdx
  • docs/edge/en/concepts/knowledge.mdx
  • docs/edge/en/concepts/memory.mdx
  • docs/edge/en/guides/agents/crafting-effective-agents.mdx
  • docs/edge/en/learn/llm-selection-guide.mdx
  • docs/edge/ko/concepts/knowledge.mdx
  • docs/edge/ko/concepts/memory.mdx
  • docs/edge/ko/guides/agents/crafting-effective-agents.mdx
  • docs/edge/ko/learn/llm-selection-guide.mdx
  • docs/edge/pt-BR/concepts/knowledge.mdx
  • docs/edge/pt-BR/concepts/memory.mdx
  • docs/edge/pt-BR/guides/agents/crafting-effective-agents.mdx
  • docs/edge/pt-BR/learn/llm-selection-guide.mdx

📝 Walkthrough

Walkthrough

The PR updates Anthropic Claude model identifiers in localized Edge documentation examples. Knowledge and memory examples use newer Sonnet and Haiku identifiers. Agent and LLM selection examples use newer Sonnet and Opus identifiers.

Changes

Claude model documentation updates

Layer / File(s) Summary
Concept example model updates
docs/edge/*/concepts/knowledge.mdx, docs/edge/*/concepts/memory.mdx
Knowledge examples now use claude-sonnet-4-6. Memory examples now use anthropic/claude-haiku-4-5.
Agent example model updates
docs/edge/*/guides/agents/crafting-effective-agents.mdx
Creative content writer examples now use anthropic/claude-opus-4-6.
LLM selection guide model updates
docs/edge/ar/learn/llm-selection-guide.mdx, docs/edge/en/learn/llm-selection-guide.mdx, docs/edge/ko/learn/llm-selection-guide.mdx
Six Claude model references in each guide now use claude-sonnet-4-6. Existing temperatures and configuration patterns remain unchanged where specified.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant